package dkbta.processing;

import java.net.InetSocketAddress;

/**
 * Holds the two data and control ports of a unit. <br>
 * The <b>data</b> port is used for receiving element instances from other units.<br>
 * The <b>control</b> port is used for receiving the start signal from the coordinator.<br>
 * 
 * @author Uri Kanonov
 */
public class UnitPorts{
	public final InetSocketAddress dataPort;

	public final InetSocketAddress controlPort;

	public UnitPorts(InetSocketAddress dataPort, InetSocketAddress controlPort){
		this.dataPort = dataPort;
		this.controlPort = controlPort;
	}
}
